﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="Task 1 Add.aspx.vb" Inherits="ASSIGNMENT_1.Task_1_Add" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <p style="font-weight: bold; font-size: medium">
        <asp:TextBox ID="tbaddno1" runat="server"></asp:TextBox>
        <asp:RangeValidator ID="RangeValidator1" runat="server" 
            ControlToValidate="tbaddno1" ErrorMessage="Numbers must be between 0 - 99999" 
            MaximumValue="99999" MinimumValue="0"></asp:RangeValidator>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
            ControlToValidate="tbaddno1" ErrorMessage="Number Required"></asp:RequiredFieldValidator>
        <br />
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; +<br />
        <asp:TextBox ID="tbaddno2" runat="server"></asp:TextBox>
        <asp:RangeValidator ID="RangeValidator2" runat="server" 
            ControlToValidate="tbaddno2" ErrorMessage="Numbers must be between 0 - 99999" 
            MaximumValue="99999" MinimumValue="0"></asp:RangeValidator>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
            ControlToValidate="tbaddno2" ErrorMessage="Number Required"></asp:RequiredFieldValidator>
    </p>
    
        &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    
        <asp:Button ID="btncal" runat="server" Text="Add" />
    
        <br />
        <br />
        <asp:Label ID="lbAnswer" runat="server"></asp:Label>
        <br />
        <br />
        <br />
        <br />
    
</asp:Content>
